package com.shdanyan.domain.sys;

import javax.persistence.Transient;

import com.shdanyan.domain.BaseEntity;

public class PermissionInfo extends BaseEntity {

    private String name;

    private String resource; // 访问的资源

    @Transient
    private String roleName;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

}
